home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 301-325 / disk_314 / a68k / a68k.lzh / Makefile.dbg < prev    next >
Makefile  |  1990-02-05  |  1KB  |  47 lines

  1. # Simple makefile to compile and link the A68k Assembler.
  2. # Created 23Jun87 by J.A. Lydiatt
  3. #
  4.  
  5. OBJ=    A68kmain.o Opcodes.o Operands.o Adirect.o A68kmisc.o\
  6.     Symtab.o Codegen.o wb_parse.o toupper.o
  7.  
  8. SHARLIB1= A68k.doc makefile A68kdef.h A68kglb.h A68kmain.c Opcodes.c Operands.c\
  9.     Adirect.c A68kmisc.c Symtab.c Codegen.c wb_parse.c isspace.c
  10.  
  11. SRC=    A68kmain.c Opcodes.c Operands.c Adirect.c A68kmisc.c\
  12.     Symtab.c Codegen.c wb_parse.c isspace.c toupper.c
  13.  
  14. SHARLIB2= A68k.uue
  15.  
  16. .SUFFIXES:    .o .a .c .s
  17.  
  18. .c.o:
  19.     zc -a -Oram:$*.s $*.c
  20.     top -vfp ram:$*.s
  21.     A68k -d -o$*.o ram:$*.s
  22.     cp ram:$*.s $*.a
  23.     delete ram:$*.s 
  24.  
  25. .a.o:
  26.     A68k -d -o$*.o $*.a
  27. A68k:    $(OBJ) 
  28.     Blink zl:begin.o $(OBJ) To A68k LIB zl:zc.lib zl:Amiga.lib
  29.  
  30. $(OBJ):    A68kdef.h A68kglb.h
  31.  
  32. #
  33. # Note: Manx's makefile seems to have a bug that forbids indirection
  34. #    such as "shar >lib a.c  b.c c.c"
  35. #    however "make >lib" seems to work fine if you edit out the
  36. #    commands make echos as it proceeds through the makefile.
  37. #
  38. #    Try make >ram:shardcp Archive 
  39. #
  40.  
  41. Archive:
  42.     shar $(SHARLIB1)
  43.     shar $(SHARLIB2)
  44.  
  45. Lint:
  46.     lint -iAztec:include Aztec:Stdlib.c Aztec:Defaults.c $(SRC)
  47.